Release 10.1A: OpenEdge Development:
Messaging and ESB
getBytesPartByID function
Retrieves a bytes part and returns the content type as a
CHARACTERstring.Syntax
Applies to
Message objects
Notes
- Before calling this function, call
SET-SIZEto free any memory allocated by theMEMPTR.- The bytes part does not undergo any code-page conversion. If it consists of text data, it is encoded in UTF-8. To encode it differently, either convert the code page manually or use one of the
getTextPartBy...functions.See also
createMultipartMessage procedure, addBytesPart procedure, addMessagePart procedure, addTextPart procedure, isMessagePart function, getPartCount function, getMessagePartByID function, getMessagePartByIndex function, writeBytesFromRaw procedure, readBytesToRaw procedure, setMemptr procedure, getMEMPTR function
For more information, see the "MultipartMessage" section and the "MultiPartMessage example" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |